/**
 * 
 */
package cs3201.westga.edu.project_2;

import org.junit.Test;

import junit.framework.TestCase;


/**
 * @author cstamps2
 *
 */
public class TestCube extends TestCase{
	
	@Test
	public void testGetVolume(){
		Cube c = new Cube(10);
		assertEquals(1000.0, c.getVolume());
	}
	
	@Test
	public void testResize(){
		Cube c = new Cube(10);
		c.resize(.5);
		assertEquals(5.0, c.getLength());
		c.setLength(10);
		c.resize(2);
		assertEquals(20.0, c.getLength());
	}
	
	
	

}